package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**
 * 场所管理人员实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "SiteManager")
public class SiteManager extends BaseModel {
    @Id
    @PrimaryKey
    private String _id;
    @Field("RealName")
    private String realName;
    @Field("Duties")
    private String duties;
    @Field("Telephone")
    private Integer telephone;
    @Field("SiteCode")
    private String siteCode;
    @Field("SiteName")
    private String siteName;
    @Field("StreetCode")
    private String streetCode;
    @Field("StreetName")
    private String streetName;
    @Field("ReligionCode")
    private String religionCode;
    @Field("ReligionName")
    private String religionName;
}
